﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FunctionManageMent.aspx.cs" Inherits="Admin_FunctionManageMent" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
   <link href="CSS/tables.css" rel="stylesheet" type="text/css" />
    <link href="style/index.css" rel="stylesheet" type="text/css" />
    <link href="style/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table cellSpacing="1" cellPadding="2" border="0" style="margin:5px 0 0 0;" width="98%" align="center">
    <tr>
        <td style=" font-size:18px; background-color:#006699; text-align:center; height: 18px; color: white;" colspan="3">
            权限管理</td>
    </tr>
    <tr>
        <td colspan="3" style="text-align:center">
            请在这里选择级别分类：<asp:DropDownList ID="ddlGL"
                runat="server" CssClass="ddlmargin-top" Height="25px" Width="167px" OnSelectedIndexChanged="ddlGL_SelectedIndexChanged" AutoPostBack="True">
            </asp:DropDownList>
            的功能列表 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            <asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="False" Font-Overline="False"
                Font-Size="12pt" ForeColor="Red" OnClick="LinkButton1_Click">管理功能</asp:LinkButton></td>
    </tr>
        <tr>
            <td colspan="3" >
                <asp:GridView ID="GVAdminFumction" runat="server" AutoGenerateColumns="False" HorizontalAlign="Center"
                    OnRowDeleting="GVAdmin_RowDeleting"
                    Width="100%" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3">
                    <Columns>
                        <asp:BoundField DataField="AFID" HeaderText="编号" SortExpression="AFID" />
                        <asp:BoundField DataField="ALNAame" HeaderText="管理者" SortExpression="ALNAame" />
                        <asp:BoundField DataField="ALName" HeaderText="功能名称" SortExpression="ALNAame" />
                        <asp:BoundField DataField="ALURL" HeaderText="功能URL" SortExpression="AName" />
                        <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('您真的要删除这一行数据吗？删除后将永远不能恢复！！！')&quot;&gt;删除&lt;/div&gt;"
                            HeaderText="删除" ShowDeleteButton="True" />
                    </Columns>
                    <RowStyle Height="20px" ForeColor="#000066" />
                    <HeaderStyle ForeColor="White" Height="25px" BackColor="#006699" Font-Bold="True" />
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td colspan="3">
             <webdiyer:aspnetpager id="AspNetPager1" runat="server" custominfohtml="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                        firstpagetext="首页" horizontalalign="Center" lastpagetext="尾页" nextpagetext="下一页"
                        prevpagetext="上一页" showcustominfosection="Right" AlwaysShow="True" OnPageChanged="AspNetPager1_PageChanged"></webdiyer:aspnetpager>
            </td>
        </tr>
</table>
    </div>
        <asp:Label ID="lblMessages" runat="server" Text="lblMessages" Visible="False"></asp:Label>
    </form>
</body>
</html>
